/* General Section Styling */
#ui-ux-design {
    background-color: white;
    padding: 50px 0;
}

/* Container Styling */
.design-container {
    display: flex;
    align-items: center;
    gap: 40px;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Left Side - Text Content */
.design-content {
    flex: 1;
    min-width: 300px;
}

/* Right Side - Image */
.design-image-container {
    flex: 1;
    min-width: 300px;
}

.design-image {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

/* Heading Styles */
.design-title {
    font-size: 30px;
    color: #fcb401;
    font-weight: bold;
    margin-bottom: 15px;
    font-family: 'Poppins', sans-serif;
}

/* Paragraph Styles */
.design-subtitle{
    font-size: 17px;
    color: #1f1f1f;
    line-height: 1.6;
    margin-bottom: 15px;
    font-family: 'Open Sans', sans-serif;
}
.design-text {
    font-size: 16px;
    color: #555;
    line-height: 1.7;
    margin-bottom: 15px;
    font-family: 'Open Sans', sans-serif;
}

/* Emphasized Text */

.design-subtitle strong {
    color: #19C0FF;
    font-weight: bold;
   
}


.design-text strong1 {
    color: #fcb401;
    font-weight: bold;
    font-size: 20px;
}

.design-text strong {
    color: #19C0FF;
    font-weight: bold;
    
}

/* Button Styling */
.design-button {
    background: linear-gradient(135deg, #19C0FF, #6f9ad1);
    color: white;
    font-size: 18px;
    padding: 12px 24px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.3s ease-in-out;
    font-family: 'Poppins', sans-serif;
}

.design-button:hover {
    background: linear-gradient(135deg, #c3c9d6, #3f6ed2);
}

/* Responsive Design */
@media (max-width: 768px) {
    .design-container {
        flex-direction: column;
        text-align: center;
    }

    .design-image-container {
        order: -1; /* Image comes on top in mobile view */
    }
}


/* New section css */

.why-section {
    width: 100%;
    background: linear-gradient(135deg, #fff6f6 0%, #e3e9ff 100%);
    padding: 80px 5%;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 1;
    transform: translateY(90px); /* Moves the section down */
    transition: opacity 1s ease-out, transform 2s ease-out;
}

.fade-up.why-section {
    opacity: 1;
    transform: translateY(0);
}

/* Container */
.why-container {
    max-width: 900px;
    width: 100%;
    text-align: center;
    opacity: 1;
   
}

/* Section Title */
.why-title {
    font-family: 'Playfair Display', serif;
    font-size: 42px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 20px;
    position: relative;
}

.why-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: #19C0FF;
    border-radius: 2px;
}

/* Subtitle */
.why-subtitle {
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
    font-weight: 200;
    line-height: 1.7;
    color: #333333;
    margin-bottom: 25px;
}

/* Highlighted Text */
.why-highlight {
    font-size: 18px;
    font-weight: 600;
    color: #292929;
    margin: 20px 0;
    font-family: 'Poppins', sans-serif;
}

/* Call-to-Action Button */
.why-button {
    background: #19C0FF;
    color: #fff;
    padding: 14px 32px;
    border: none;
    border-radius: 50px;
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(224, 224, 224, 0.3);
    display: inline-block;
    margin-top: 15px;
}

.why-button:hover {
    background: #7ec5df;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(24, 23, 23, 0.4);
}

/* Reveal Section on Scroll */
.show .why-container {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive Design */
@media (max-width: 768px) {
    .why-section {
        padding: 60px 5%;
    }

    .why-title {
        font-size: 34px;
    }

    .why-title::after {
        width: 50px;
    }

    .why-highlight {
        font-size: 18px;
    }

    .why-subtitle {
        font-size: 16px;
    }

    .why-button {
        font-size: 14px;
        padding: 10px 24px;
    }
}

@media (max-width: 480px) {
    .why-title {
        font-size: 30px;
    }

    .why-subtitle {
        font-size: 15px;
    }

    .why-button {
        font-size: 14px;
        padding: 10px 20px;
    }
}
